package org.example.codeservce.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

/**
 * (User)表实体类
 *
 * @author LiQing
 * @since 2024-05-15 11:48:12
 */
@SuppressWarnings("serial")
@Data
public class User extends Model<User>
{
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    //用户名
    private String username;
    //密码
    private String password;
    //头像
    private String avatar;
    //邮箱
    private String email;
    //创建时间
    private Date createTime;
}

